/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package classes;

/**
 *
 * @author angelo
 */
import java.io.*;

import javax.servlet.http.*;
import javax.servlet.*;

public class servlet extends HttpServlet {
   public void doPost (HttpServletRequest req,
                     HttpServletResponse res)
    throws ServletException, IOException
  {
      res.setContentType("text/html");
    PrintWriter out = res.getWriter();

    out.println("Hello, world!");
    out.close();
  }
  
  }